#pragma once

class CLog
{
public:
	CLog(void);
	bool Init(const wchar_t* path);
	void Write(const char* szText);
	~CLog(void);
private:
	FILE* m_pFile;
	CRITICAL_SECTION m_cs;
};
extern CLog sLog;